import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'UserLimit' })
export default class UserLimitEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'varchar', length:50})
  LimitName: string;

  @Column({ type: 'varchar', length:50})
  Title: string;

  @Column({ type: 'varchar', length:255})
  Url: string;

  /**
   * 0未启用1启用
   */
  @Column({ type: 'int'})
  Enable: number;
}